cpdef vertex_valences_for_given_g_and_n(int g, int n)
